﻿@model IEnumerable<CRM.Infrastructure.Entity.CallEnd>

@{
    ViewBag.Title = "GetCallInfo";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<table class="table table-bordered">
    <tr>
        <th>
            开始时间
        </th>
        <th>
            结束时间
        </th>
        <th>
            呼叫时长
        </th>
        <th>
            响铃时长
        </th>
        <th>
            录音
        </th>
    </tr>

    @foreach (var item in Model)
    {
    <tr>
        <td>
            @item.BgnTime
        </td>
        <td>
            @item.EndTime
        </td>
        <td>
            @item.UserParam
        </td>
        <td>
            @item.AgentAlertTime
        </td>
        <td>
            <audio controls> <source src="@item.FileName" type="audio/mpeg"></audio>
        </td>
    </tr>
    }

</table>
